﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace IOA.MES.WebTool.WebSocketSupport.CommandModels
{
    public class GetPackMarkResponse
    {
        /// <summary>
        /// 包装唛头文件地址
        /// </summary>
        public string PackMark { get; set; }

        /// <summary>
        /// 边框条码
        /// </summary>
        public string BorderBarCode { get; set; }

        /// <summary>
        /// 包装信息
        /// </summary>
        public PackInfo PackInfo { get; set; }

        /// <summary>
        /// 组件列表
        /// </summary>
        public List<ProductInfo> Products { get; set; } = new List<ProductInfo>();
    }

    public class PackInfo
    {
        /// <summary>
        /// 包装编号
        /// </summary>
        public string PackNo { get; set; }

        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNo { get; set; }

        /// <summary>
        /// 铭牌型号
        /// </summary>
        public string NameplateModel { get; set; }

        /// <summary>
        /// 电流档
        /// </summary>
        public string CurrentLevel { get; set; }

        /// <summary>
        /// 颜色
        /// </summary>
        public string Color { get; set; }

        /// <summary>
        /// 额定功率
        /// </summary>
        public decimal Power { get; set; }

        /// <summary>
        /// 电池片
        /// </summary>
        public string Cell { get; set; }

        /// <summary>
        /// 背板
        /// </summary>
        public string BackPlan { get; set; }

        /// <summary>
        /// 接线盒
        /// </summary>
        public string JunBox { get; set; }

        /// <summary>
        /// 边框
        /// </summary>
        public string AluFrame { get; set; }

        /// <summary>
        /// 倒角
        /// </summary>
        public string Chamfer { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public string Type { get; set; }

        /// <summary>
        /// 等级
        /// </summary>
        public string QLevel { get; set; }

        /// <summary>
        /// 包装日期
        /// </summary>
        public string PackDate { get; set; }

        /// <summary>
        /// 等级
        /// </summary>
        public string Quality { get; set; }
    }

    public class ProductInfo
    {
        /// <summary>
        /// 包装号
        /// </summary>
        public string PackNo { get; set; }

        /// <summary>
        /// 条码信息
        /// </summary>
        public string BarCode { get; set; }

        public string Temp { get; set; }
        public string Voc { get; set; }
        public string Isc { get; set; }
        public string Pm { get; set; }
        public string Vm { get; set; }
        public string Im { get; set; }
        public string FF { get; set; }
        public string EFF { get; set; }
        public string CurrentLevel { get; set; }
        public string Power { get; set; }
        public string Time { get; set; }
        public int Block { get; set; }
        public string NameplateModel { get; set; }
        public string VerifyCode { get; set; }
    }
}
